# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=vim-airline
pkgver=0.11
pkgrel=0
pkgdesc="vim status line, written in Vimscript"
url="https://github.com/vim-airline/vim-airline"
arch="all"
license="MIT"
depends="vim"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/vim-airline/vim-airline/archive/refs/tags/v$pkgver.tar.gz"
options="!check"

package() {
	install -d "$pkgdir"/usr/share/vim/vimfiles
	cp -ra autoload doc plugin "$pkgdir"/usr/share/vim/vimfiles/
	install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
	install -Dm 644 README.md CHANGELOG.md -t "$pkgdir/usr/share/doc/$pkgname"
}

sha512sums="
7837f9ae02c1503c7eb6918776292ac6e4b03535eb95aaf20ee091264af5e62c12b471a6e243db80891114848e71f75d9d1022df68909dd4940c88f093e3deb8  vim-airline-0.11.tar.gz
"
